/****** Object:  Table [dbo].[Company]    Script Date: 05/10/2011 07:26:56 ******/
IF  EXISTS (SELECT * FROM sys.objects WHERE object_id = OBJECT_ID(N'[dbo].[Company]') AND type in (N'U'))
DROP TABLE [dbo].[Company]
GO

/****** Object:  Table [dbo].[Company]    Script Date: 05/10/2011 07:26:56 ******/
SET ANSI_NULLS ON
GO

SET QUOTED_IDENTIFIER ON
GO

CREATE TABLE [dbo].[Company](
	[id] [int] IDENTITY(1,1) NOT NULL,
	[name] [nvarchar](100) NOT NULL,
	[address] [nvarchar](100) NULL,
	[phone] [nvarchar](20) NULL,
	[mobile] [nvarchar](20) NULL,
	[fax] [nvarchar](20) NULL,
	[accountNumber] [nvarchar](50) NULL,
	[bank] [nvarchar](100) NULL,
	[taxNumber] [nvarchar](50) NULL,
	[director] [nvarchar](100) NOT NULL,
	[logo] [nchar](200) NULL,
 CONSTRAINT [PK_Company] PRIMARY KEY CLUSTERED 
(
	[id] ASC
)WITH (PAD_INDEX  = OFF, STATISTICS_NORECOMPUTE  = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS  = ON, ALLOW_PAGE_LOCKS  = ON) ON [PRIMARY]
) ON [PRIMARY]

GO


